package com.weeho.dongyong.entity;

import java.math.BigDecimal;

public class Task {
    private String id;

    private String name;

    private String useReason;

    private BigDecimal taskLevelId;

    private String taskLevel;

    private BigDecimal taskStateId;

    private String startTime;

    private String endTime;

    private String taskLocation;

    private String createUserId;

    private String createUserName;

    private String createTime;

    //////////

    private int state; // 1: some 2:待审批

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getUseReason() {
        return useReason;
    }

    public void setUseReason(String useReason) {
        this.useReason = useReason == null ? null : useReason.trim();
    }

    public BigDecimal getTaskLevelId() {
        return taskLevelId;
    }

    public void setTaskLevelId(BigDecimal taskLevelId) {
        this.taskLevelId = taskLevelId;
    }

    public String getTaskLevel() {
        return taskLevel;
    }

    public void setTaskLevel(String taskLevel) {
        this.taskLevel = taskLevel == null ? null : taskLevel.trim();
    }

    public BigDecimal getTaskStateId() {
        return taskStateId;
    }

    public void setTaskStateId(BigDecimal taskStateId) {
        this.taskStateId = taskStateId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime == null ? null : startTime.trim();
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime == null ? null : endTime.trim();
    }

    public String getTaskLocation() {
        return taskLocation;
    }

    public void setTaskLocation(String taskLocation) {
        this.taskLocation = taskLocation == null ? null : taskLocation.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }
}